package com.boot.service;

import com.boot.Vo.CategoryVo;
import com.boot.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.result.Result;

/**
* @author liyan
* @description 针对表【category(菜品及套餐分类)】的数据库操作Service
* @createDate 2025-04-17 15:50:40
*/
public interface CategoryService extends IService<Category> {
    Result queryCategoryList(CategoryVo categoryVo);

    Result addCategory(Category category);

    Result updateCategory(Category category);

    Result updateCategoryStatus(Integer status, Integer id);

    Result deleteCategory(Integer id);

    Result getCategoryByType(Integer type);
}
